package com.javaWb.dao1;

import java.util.List;

public interface UserDAO {

	public boolean insert(User user)throws Exception;
	
	public boolean update(User user)throws Exception;
	
	public boolean delete(int userId)throws Exception;
	
	public User queryById(int userId)throws Exception;
	
	public List queryAll()throws Exception;
	
	public List queryAll(String column,String keyWord,int currentPage,int lineSize)throws Exception;
	
	public int getAllCount(String column,String keyWord) throws Exception;
	
}
